package com.xc.service;

import com.xc.common.ServerResponse;
import com.xc.pojo.Menu;

import java.util.Map;

/**
 * 菜单
 */
public interface MenuService {

    /**
     * 新增
     */
    ServerResponse insertMenu(Map<String,Object> params) throws Exception;

    /**
     * 更新
     */
    ServerResponse updateMenu(Map<String,Object> params);

    ServerResponse deleteMenu(Integer menuId);

    ServerResponse menuList(Map<String,String> params);

}
